package com.hui.qiniucloud.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "volcengine.tts")
public class TtsProperties {
    private String appId;
    private String token;
    
    // 默认音色配置
    private String defaultSpeaker = "zh_female_shuangkuaisisi_moon_bigtts";
    
    // 默认音频参数
    private String defaultFormat = "mp3";
    private Integer defaultSampleRate = 24000;
    private Integer defaultBitRate = 64000;
    
    // 资源ID配置 - 使用豆包语音合成模型2.0
    private String resourceId = "seed-tts-2.0";
    
    // V3双向流式接口端点
    private String endpoint = "wss://openspeech.bytedance.com/api/v3/tts/bidirection";
}